Next: Wisent Lex, Up: Wisent Semantic [Contents][Index]
Semantic parsing heavily depends on how you wrote the grammar. There are mainly two styles to write a Wisent’s grammar intended to be used with the Semantic tool set: the Iterative style and the Bison style. Each one has pros and cons, and in certain cases it can be worth a mix of the two styles!
| • Iterative style: | ||
| • Bison style: | ||
| • Mixed style: | ||
| • Start nonterminals: | ||
| • Useful functions: |